package com.boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.boot.dto.auth.UserRoleDTO;
import com.boot.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description:
 * @author: zk
 * @date: 2021/4/14 上午10:45
 **/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<SysUser> queryAll();

    List<UserRoleDTO> selectRolesByUserId(Long id);
}
